package la.bbs558.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import la.bbs558.entity.UserMessage;
import la.bbs558.entity.vo.UserMessageVO;
import la.bbs558.entity.params.UserMessagePage;
import org.apache.ibatis.annotations.Param;

/**
 * 用户消息(UserMessage)表数据库访问层
 *
 * @author weihanmin
 * @since 2023-12-17 16:08:07
 */
public interface UserMessageDao extends BaseMapper<UserMessage> {

    Page<UserMessageVO> queryMessageList(@Param("page") UserMessagePage page, @ Param("userId") long userId);
}

